TypeError
Python 2.4.4: /usr/bin/python
Thu Sep 9 06:43:12 2010

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, with the most recent first.

TypeError: unsubscriptable object

/usr/local/deployments/millipedia_prod/src/pages/history.py in populateDict(self=<history.PageHandler instance at 0x8124956c>, request=<qad.RequestHandler object at 0x8130ca0c>)
   23                 if i[0][0] == 'r' :
   24                     right = 1
   25                 x = request.app.logic.millipedia.splitValue(i[1])
   26                 a.append({'right':right,'relation':i[0][2:],'other_item_name':x[0],'delta':x[1],'time':x[2],'author':x[3]})
   27         a.sort(key=lambda x : x['time'],reverse=True)
   28         request.dict.addSection('history',a)
   29         request.dict.setValue('title','%s | millipedia.org' % request.item_name)
a = [], a.append = <built-in method append of list object at 0x8130c78c>, right = 0, i = (u'l:', u'|1|2008-04-12T10:32:39Z,122.169.159.161\tMozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13'), x = None
/usr/local/deployments/millipedia_prod/src/PageHandlerImpl.py in sendPageResponse(self=<history.PageHandler instance at 0x8124956c>, request=<qad.RequestHandler object at 0x8130ca0c>)
   76         return self.expandTemplate(request,"%s.tmpl" % request.page)
   77 
   78     def sendPageResponse(self,request) :
   79         self.populateDict(request)
   80         self.sendHeader(request)
   81         request.req.write(self.genContent(request))
   82         self.sendFooter(request)
self = <history.PageHandler instance at 0x8124956c>, self.populateDict = <bound method PageHandler.populateDict of <history.PageHandler instance at 0x8124956c>>, request = <qad.RequestHandler object at 0x8130ca0c>
/usr/local/deployments/millipedia_prod/src/PageHandlerImpl.py in sendResponse(self=<history.PageHandler instance at 0x8124956c>, request=<qad.RequestHandler object at 0x8130ca0c>)
   97         self.beginResponse(request)
   98         if self.doPageLogic(request) :
   99             return
  100         self.sendPageResponse(request)
  101         self.endResponse(request)
  102 
  103     def genCacheName(self,request,s) :
self = <history.PageHandler instance at 0x8124956c>, self.sendPageResponse = <bound method PageHandler.sendPageResponse of <history.PageHandler instance at 0x8124956c>>, request = <qad.RequestHandler object at 0x8130ca0c>
/usr/local/deployments/millipedia_prod/src/utils/qad.py in process(self=<qad.RequestHandler object at 0x8130ca0c>, req=<jon_modpy.Request object at 0x8145dfcc>)
  366         else :
  367             self.logFact('page',self.page)
  368             try :
  369                 pageModule.sendResponse(self)
  370             except :
  371                 exctype,value,tb = sys.exc_info()
  372                 info = (self.page,str(exctype),str(value),str(traceback.extract_tb(tb,3)))
pageModule = <history.PageHandler instance at 0x8124956c>, pageModule.sendResponse = <bound method PageHandler.sendResponse of <history.PageHandler instance at 0x8124956c>>, self = <qad.RequestHandler object at 0x8130ca0c>
/usr/local/deployments/millipedia_prod/src/third/jon_modpy.py in process(self=<jon_modpy.Request object at 0x8145dfcc>, modpy_req=<mp_request object at 0x812a7cc4>)
  104       self.traceback()
  105     else:
  106       try:
  107         handler.process(self)
  108       except:
  109         handler.traceback(self)
  110     self.flush()
handler = <qad.RequestHandler object at 0x8130ca0c>, handler.process = <bound method RequestHandler.process of <qad.RequestHandler object at 0x8130ca0c>>, self = <jon_modpy.Request object at 0x8145dfcc>